package de.bensoft.jrail.client.ui.trackplan;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class TrackplanLauncher extends Application {

	public static void main(String[] args) {
		launch();
	}

	@Override
	public void start(Stage arg0) throws Exception {
		
		FXMLLoader loader = new FXMLLoader(getClass().getResource("Trackplan.fxml"));
		
		Scene s = new Scene((Parent)loader.load());
		s.getStylesheets().add(getClass().getResource("/style/style.css").toExternalForm());
		arg0.setScene(s);
		arg0.sizeToScene();
		arg0.setTitle("jRAIL Trackplanner");
		arg0.show();
	}
}
